/**   
 * @Title: BaseTemplate.java 
 * @Package templatemethod.test 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author yangdechao   
 * @date 2017-7-21 上午11:18:54 
 * @version V1.0   
 */
package templatemethod.test;

/**
 * @author john
 * 
 */
public abstract class BaseJdbcTemplate {

	public abstract void part1();

	public abstract void part2();

	public abstract void part3();

	public abstract void part4();

	public abstract void part5();

	public final void beginTemplateMethod() {
		part1();
		part2();
		part3();
		part4();
		part5();
	}
}
